<!DOCTYPE html>
<html lang="en">
<style>
    ytp-player-minimized {
        overflow: hidden;
        outline: none;
    }
</style>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <title> {{config('base.base.site_name')}} - @yield('title')</title>
    <meta name="keywords" content="{{config('base.base.keywords')}}">
    <meta name="description" content="{{config('base.base.description')}}">
    <meta name="viewport" content="width=device-width, initial-scale=0.1">
    <link rel="stylesheet" href="/static/css/user-head.css">
    <link rel="stylesheet" href="/static/css/fonthead.css">
    <link rel="stylesheet" href="/static/layui/css/layui.css">
    <link rel="stylesheet" href="/static/css/laydate.css" id="layuicss-laydate">
    <style>
        .select_item {
            margin-right: 10px;
        }

        .replay-btn {
            display: inline-block;
            width: 50px;
            height: 30px;
            background-color: #f60;
            color: #fff;
            font-size: 14px;
            border-radius: 4px;
        }
    </style>
</head>
<body>
<div class="control_panel">
    {{--    头部栏--}}
    <header class="main_header clearfix">
        <h1><a href="/" class="logo"></a></h1>
        <div class="my_custom_menu">
            <ul style="width: auto;">
                <li data-id="8">
                    <a href="{{url('user/domain')}}">我的域名</a>
                </li>
            </ul>
            <dl style="display: none;">
                <dt><i class="iconfont icondian"></i></dt>
                <dd>
                    <ol></ol>
                </dd>
            </dl>
            <span class="add_btn"><i class="iconfont icontj"></i></span>
        </div>
        <div class="console_menu">
            <dl>
                <dd><a href="/" class="to_index">访问首页</a></dd>
                <dd><span class="line"></span></dd>
                <dd><a href="{{url('/funds/recharge')}}" class="console_btn">充值</a></dd>
                <dt class="signIn_show">
                    @php
                        $user =auth('admin')->user();
                    @endphp
                    <a href="{{url('member')}}">
                        <div class="icon">
                            <i class="iconfont iconyonghu1"></i>
                        </div>
                    </a>
                    <div class="box" style="top: 61px;border-color: #f6f7f9">
                        <div class="userId">
                            <em><i class="iconfont iconyonghu1"></i></em>
                            <p class="text_orange">{{$user->email}}</p>
                            {{--                            <p class="text_gray f12">ID：0378</p>--}}
                        </div>
                        <div class="balance">
                            余额
                            <a href="{{url('/funds/recharge')}}" class="btn btn_primary btn_small">充值</a>
                            <span class="fr text_orange fw f16">￥{{$user->cash}}</span>
                        </div>
                        <ul>
                            <li>
                                <a href="{{url('domain/list')}}">
                                    <i class="iconfont iconmenudomain"></i>
                                    域名管理
                                </a>
                            </li>
                            <li>
                                <a href="{{url('funds/list')}}">
                                    <i class="iconfont iconbeifen"></i>
                                    资金明细
                                </a>
                            </li>
                        </ul>
                        <div class="exit">
                            <a href="{{url('member/logout')}}">
                                <i class="iconfont iconexit"></i>&nbsp;
                                退出
                            </a>
                        </div>
                    </div>
                </dt>
            </dl>
        </div>
    </header>
    {{--    左侧栏--}}
    <div class="main_slidebar">
        <div class="console">
            <a href="{{url('member')}}" id="console">
                <i class="iconfont iconyibiao"></i>
                控制台
            </a>
        </div>
        <ul>
{{--            <li>--}}
{{--                <a href="javascript:;">--}}
{{--                    <i class="iconfont iconmenudomain"></i>--}}
{{--                    <span>域名管理</span>--}}
{{--                    <em><i class="iconfont iconright"></i></em>--}}
{{--                </a>--}}
{{--                <dl>--}}
{{--                    <dd><a href="{{url('domain/list')}}" target="_self" id="domain-list">我的域名</a></dd>--}}
{{--                    <dd><a href="{{url('domain/tpl')}}" target="_self" id="domain-tpl">我的模板</a></dd>--}}
{{--                    <dd><a href="{{url('domain/group')}}" target="_self" id="domain-group">我的分组</a></dd>--}}
{{--                    <dd><a href="{{url('domain/zhuanchu')}}" target="_self" id="domain-zhuanchu">域名转出</a></dd>--}}
{{--                    <dd><a href="{{url('domain/push')}}" target="_self" id="domain-push">域名PUSH</a></dd>--}}
{{--                    <dd><a href="{{url('domain/plcz')}}" target="_self" id="domain-plcz">批量操作</a></dd>--}}
{{--                    <dd><a href="{{url('domain/plcz/jieguo')}}" target="_self" id="domain-pljg">批量操作结果</a></dd>--}}
{{--                </dl>--}}
{{--            </li>--}}

            <li>
                <a href="javascript:;">
                    <i class="iconfont iconmenumoney"></i>
                    <span>资金管理</span>
                    <em><i class="iconfont iconright"></i></em>
                </a>
                <dl>
                    <dd><a href="{{url('funds/recharge')}}" target="_self" id="funds-recharge">在线充值</a></dd>
                    <dd><a href="{{url('funds/list')}}" target="_self" id="funds-list">资金明细</a></dd>
                    <dd><a href="{{url('funds/withdrawal')}}" target="_self" id="funds-withdrawal">余额退款</a></dd>
                    <dd><a href="{{url('funds/invoice')}}" target="_self" id="funds-invoice">申请发票</a></dd>
                </dl>
            </li>
            <li>
                <a href="javascript:;">
                    <i class="iconfont iconmenuuser"></i>
                    <span>账户管理</span>
                    <em><i class="iconfont iconright"></i></em>
                </a>
                <dl>
                    <dd><a href="{{url('account/info')}}" target="_self" id="account-info">账户资料</a></dd>
                    <dd><a href="{{url('account/safe')}}" target="_self" id="account-safe">安全中心</a></dd>
                    <dd><a href="{{url('account/certification')}}" target="_self" id="account-certification">我的认证</a>
                    </dd>
                </dl>
            </li>
            @if($user->id ==1)
                <li>
                    <a href="javascript:;">
                        <i class="iconfont iconmenuuser"></i>
                        <span>管理员菜单</span>
                        <em><i class="iconfont iconright"></i></em>
                    </a>
                    <dl>
                        <dd><a href="{{url('member/manager/user')}}" target="_self" id="manager_user">会员管理</a></dd>
                        <dd><a href="{{url('member/manager/funds/withdrawal')}}" target="_self"
                               id="manager_funds">资金管理</a></dd>
                        <dd><a href="{{url('member/manager/domain/induce')}}" target="_self" id="manager_domain_induce">域名归纳</a></dd>
                        <dd><a href="{{url('member/manager/setting')}}" target="_self" id="manager_setting">网站设置</a>
                        </dd>
                    </dl>
                </li>
            @endif
        </ul>
    </div>
</div>
@section('content')

@show
</body>
<script src="/static/js/jquery.min-3.3.1.js"></script>
<script src="/static/js/common.js"></script>

<script src="/static/layui/layui.all.js"></script>
<script src="/static/js/pagination.js"></script>
<script src="/static/js/menu.js"></script>

<script src="/static/js/jquery.form.min.js"></script>
<script type="text/javascript" src="/static/js/jquery.validation/1.14.0/jquery.validate.js"></script>
<script type="text/javascript" src="/static/js/jquery.validation/1.14.0/validate-methods.js"></script>
<script type="text/javascript" src="/static/js/jquery.validation/1.14.0/messages_zh.js"></script>

<script>
    var pop_message = "{{ Session::get('message') }}";
    if (pop_message != '') {
        layer.msg(pop_message, {icon: 2});
    }
</script>
@section('script')
@show

</html>